package example.pattern.observer;

public class GraphObserver implements Observer {

	@Override
	public void notify(int number) {
		StringBuilder sb = new StringBuilder();
		for(int i=0;i<number;i++){
			sb.append("*");
		}
		System.out.println("Number is " + sb.toString());
	}

}
